import { createRouter, createWebHistory } from 'vue-router'; // Vue 3 的导入方式
import AppHome from '../views/AppHome.vue';
import AppPersonalCenter from '../views/AppPersonalCenter.vue'
im

const router = createRouter({
history: createWebHistory(), // 或者 createWebHashHistory()
routes: [
{ path: '/', component: AppHome },
{ path: '/personal', component: AppHome },
{ path: '/', component: AppHome },
{ path: '/', component: AppHome },
{ path: '/', component: AppHome },
]
});

export default router; // 导出路由实例